package com.syerit.controller
{
	import com.syerit.model.AppDataProxy;
	import com.syerit.model.AppStateProxy;
	import com.syerit.model.ConfigProxy;
	import com.syerit.model.CookieProxy;
	import com.syerit.model.ExternalProxy;
	import com.syerit.model.ProductDataProxy;
	import com.syerit.model.StartupMonitorProxy;
	
	import org.puremvc.as3.multicore.interfaces.ICommand;
	import org.puremvc.as3.multicore.interfaces.INotification;
	import org.puremvc.as3.multicore.patterns.command.SimpleCommand;

	public class ModelPrepCommand extends SimpleCommand implements ICommand
	{
		override public function execute(notification:INotification):void
		{
			//register monitor proxy
			facade.registerProxy(new StartupMonitorProxy());
			//register data proxies
			facade.registerProxy(new ConfigProxy());
			facade.registerProxy(new CookieProxy());
			facade.registerProxy(new AppStateProxy());
			facade.registerProxy(new AppDataProxy());
			facade.registerProxy(new ProductDataProxy());
			facade.registerProxy(new ExternalProxy());
			
		}
	}
}